package cn.entity;

import java.lang.Integer;
import java.util.HashSet;
import java.util.Set;

public class User {

  private Integer id;
  private String name;
  private String password;
  private String telephone;
  private String username;
  private String isadmin;
  private Set<House> houses = new HashSet<House>();

  public void setHouses(Set<House> houses) {
    this.houses = houses;
  }

  public Set<House> getHouses() {

    return houses;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }


  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }


  public String getIsadmin() {
    return isadmin;
  }

  public void setIsadmin(String isadmin) {
    this.isadmin = isadmin;
  }

}
